package com.sunshineedu.sunshineeducationspring.entity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Entity
@Table(name = "course_student")
public class CourseStudent {
    @Id
    @Column(name = "courseId", nullable = false)
    private Integer courseId;

    @Column(name = "studentId", nullable = false)
    private Integer studentId;

}